package cn.px.rest.task;

import cn.px.service.sb.SbDepreciationLogService;
import lombok.AllArgsConstructor;
import lombok.extern.slf4j.Slf4j;
import org.springframework.stereotype.Component;

/**
 * @Description 设备折旧处理
 * @author 品讯科技
 * @date 2024-08
 * @Version Copyright (c) 2020,北京乾元坤和科技有限公司 All rights reserved.
 */
@Slf4j
@Component("sbDepreciationLogTask")
@AllArgsConstructor
public class SbDepreciationLogTask {
    private SbDepreciationLogService sbDepreciationLogService;

    /**
     * 点检任务生成
     */
    public void updateSbDepreciationLog () {
        sbDepreciationLogService.genTask();
    }

}
